package org.aristotle.user.model.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@ApiModel("模板信息")
public class TemplateVO {

    @ApiModelProperty("模板信息id")
    @JSONField(name = "id", serializeUsing = ToStringSerializer.class)
    private java.lang.Long id;

    @ApiModelProperty("模板名")
    @JSONField(name = "name")
    private String name;
    @ApiModelProperty("模板描述")
    @JSONField(name = "info")
    private String info;
    @ApiModelProperty("模板地址")
    @JSONField(name = "url")
    private String url;

    @ApiModelProperty("创建时间")
    @JSONField(name = "createTime", format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime;

    @ApiModelProperty("修改时间")
    @JSONField(name = "updateTime", format = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date updateTime;



}
